# Maintainer: Elizabeth Jennifer Myers <elizabeth@sporksirc.net>
# Contributor: Elizabeth Jennifer Myers <elizabeth@sporksirc.net>
pkgname=py3-eventlet
pkgver=0.26.0
pkgrel=0
pkgdesc="Python library for seamless coroutine-based concurrency"
options="!check" # Some tests fail
url="http://eventlet.net/"
arch="noarch"
license="MIT"
depends="python3 py3-greenlet py3-openssl"
makedepends="py3-setuptools"
checkdepends="py3-nose"
source="https://files.pythonhosted.org/packages/source/e/eventlet/eventlet-$pkgver.tar.gz"

builddir="$srcdir"/eventlet-$pkgver
build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --root "$pkgdir"
}
sha512sums="9de50a138732bc9236dd287ef10c6a58a694b8cd85e785d1624950195caf68cb061ab573d70c8b7eab45accf5681193c80c9225af3cd53383dbcaa822bde5f52  eventlet-0.26.0.tar.gz"
